package com.lnu.information.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * @author : jian.zhang-2
 * @description:
 * @date : Create in 12:38 PM 2022/2/18
 * @modified By :
 */
@TableName(value = "company")
public class companyEntity extends Model<companyEntity> implements Serializable {

    public companyEntity(String companyName) {
        this.companyName = companyName;
    }

    @TableId(value = "company_id", type = IdType.AUTO)//指定自增策略
    private String companyId;

    private String companyName;

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}
